package org.rxc.base.service;

import org.rxc.base.query.BaseQuery;
import org.rxc.base.utils.PageList;

import java.util.List;

public interface IBaseService<T> {
    void save(T t);
    void update(T t);
    void delete(Long id);
    T queryById(Long id);
    List<T> queryAll();
    PageList<T> queryPage(BaseQuery baseQuery);
    void batchRemove(List<Long> ids);

}
